package com.scoressystem.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer studentNo;
    private String studentName;
    private String studentSex;
    private Integer stuDel;
    private Integer stuAge;
    private String stuBirthday;
    private String stuPass;

    private List<Teacher> teacherList;

    public Student(Integer studentNo, String studentName, String studentSex, Integer stuDel, Integer stuAge, String stuBirthday) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.studentSex = studentSex;
        this.stuDel = stuDel;
        this.stuAge = stuAge;
        this.stuBirthday = stuBirthday;
    }
}
